<?php

namespace App\Library\Requests\SalesRecord;

use App\Library\Requests\Base\BasePageRequest;

class SalesRecordPageRequest extends BasePageRequest
{
    public function rules(): array
    {
        return array_merge(parent::rules(), [
            'type' => 'nullable|integer|between:0,5',
            'listType' => 'nullable|integer|in:0,1'
        ]);
    }
}
